package com.ruoyi.shanghuliebiao2.mapper;

import java.util.List;
import com.ruoyi.shanghuliebiao2.domain.CheDrawalStatement;

/**
 * 中间表Mapper接口
 * 
 * @author ruoyi
 * @date 2025-01-08
 */
public interface CheDrawalStatementMapper 
{
    /**
     * 查询中间表
     * 
     * @param id 中间表主键
     * @return 中间表
     */
    public CheDrawalStatement selectCheDrawalStatementById(Long id);

    /**
     * 查询中间表列表
     * 
     * @param cheDrawalStatement 中间表
     * @return 中间表集合
     */
    public List<CheDrawalStatement> selectCheDrawalStatementList(CheDrawalStatement cheDrawalStatement);

    /**
     * 新增中间表
     * 
     * @param cheDrawalStatement 中间表
     * @return 结果
     */
    public int insertCheDrawalStatement(CheDrawalStatement cheDrawalStatement);

    /**
     * 修改中间表
     * 
     * @param cheDrawalStatement 中间表
     * @return 结果
     */
    public int updateCheDrawalStatement(CheDrawalStatement cheDrawalStatement);

    /**
     * 删除中间表
     * 
     * @param id 中间表主键
     * @return 结果
     */
    public int deleteCheDrawalStatementById(Long id);

    /**
     * 批量删除中间表
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteCheDrawalStatementByIds(Long[] ids);
}
